<template>
	<view class="page">
		<view class="conten">
			<view class="title">
				{{list.noticeTitle}}
			</view>
			<view class="content">
				{{list.noticeContent}}
			</view>
			<view class="time">
				{{list.createTime}}
			</view>
		</view>
	</view>
</template>

<script>
	import api_mine from '@/api/mine'
	export default {
		data() {
			return {
				list: {},
			}
		},
		onShow() {

		},
		onLoad(option) {
			this.systemnotice(option.id)
		},
		methods: {
			systemnotice(id) {
				api_mine.systemnotice(id).then(res => {
					this.list = res.data
				})
			},
		}
	}
</script>

<style lang="scss">
	.page {
		.conten {
			width: 90%;
			margin: 30rpx auto;
			background-color: #fff;
			border-radius: 30rpx;
			min-height: 300rpx;

			.title {
				font-weight: 600;
				text-align: center;
				line-height: 96rpx;
				font-size: 32rpx;
			}

			.content {
				text-indent: 2em;
				padding: 16rpx;
				min-height: 200rpx;
				font-size: 28rpx;
			}
			.time{
				text-align: right;
				margin-right:32rpx ;
				line-height:54rpx;
			}
		}
	}
</style>